<template>
  <el-image class="main-image" :src="mainImagePath + src"></el-image>
</template>
<script lang="ts">
import Vue from 'vue'
export default Vue.extend({
  props: ["src"],
  computed: {
    mainImagePath: () => process.env.VUE_APP_MAIN_IMAGE_SERVER_ADDR
  }
})
</script>
<style lang="scss" scoped>
.main-image {
  width: 100%;
}
</style>
